package com.sgb.jicai.view.adapter;

import android.content.Context;

import com.sgb.jicai.R;
import com.sgb.link.entity.PublicTypeEntity;
import com.swgk.core.BR;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

/**
 * Time:2021/9/22
 * AUTHOR:F_Q
 * Description:
 */
public class JCMachineTypeLAdapter extends BaseRecycleAdapter<PublicTypeEntity<List<PublicTypeEntity>>> {


    public JCMachineTypeLAdapter(Context context, List<PublicTypeEntity<List<PublicTypeEntity>>> datas) {
        super(context, R.layout.jc_item_machine_type, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final PublicTypeEntity<List<PublicTypeEntity>> entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
